package jp.co.piratealliance.pirateAllianceWeb.web.action.help;

import java.util.List;

import jp.co.piratealliance.pirateAllianceWeb.common.base.BaseAction;
import jp.co.piratealliance.pirateAllianceWeb.dto.help.HelpDto;
import jp.co.piratealliance.pirateAllianceWeb.service.help.HelpService;

/**
 * copyright pirate alliance team 2014
 *
 * @author lunxing
 */

public class HelpAction extends BaseAction {
	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	
	private HelpService helpService;

	private List<HelpDto> helpDtoList;
	
	private String app_name;

	public String getHelpInfoList()
	{
		this.helpDtoList = this.helpService.getHelpInfoList(this.app_name);
		return SUCCESS;
	}

	/**
	 * @return the helpService
	 */
	public HelpService getHelpService() {
		return helpService;
	}

	/**
	 * @param helpService the helpService to set
	 */
	public void setHelpService(HelpService helpService) {
		this.helpService = helpService;
	}

	/**
	 * @return the helpDtoList
	 */
	public List<HelpDto> getHelpDtoList() {
		return helpDtoList;
	}

	/**
	 * @param helpDtoList the helpDtoList to set
	 */
	public void setHelpDtoList(List<HelpDto> helpDtoList) {
		this.helpDtoList = helpDtoList;
	}

	/**
	 * @return the app_name
	 */
	public String getApp_name() {
		return app_name;
	}

	/**
	 * @param app_name the app_name to set
	 */
	public void setApp_name(String app_name) {
		this.app_name = app_name;
	}


	
}
